﻿using System.Windows;

namespace DesktopToyWpf.Views;

public class RoutedEventArgs<T>(RoutedEvent routedEvent, object source, T data) : RoutedEventArgs(routedEvent, source)
{
    public T Data { get; } = data;
}

public delegate void RoutedEventHandler<T>(object sender, RoutedEventArgs<T> e);